package com.dv.driverless.domain;

import java.util.Date;

import com.dv.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.dv.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 材料信息对象 basic_coil
 *
 * @author ruoyi
 * @date 2023-04-06
 */
public class BasicCoil extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 钢卷品名 */
    @Excel(name = "钢卷品名")
    private String coilName;

    /** 钢卷宽度 */
    @Excel(name = "钢卷宽度")
    private Integer coilWidth;

    /** 钢卷内径 */
    @Excel(name = "钢卷内径")
    private Integer coilInside;

    /** 钢卷净重 */
    @Excel(name = "钢卷净重")
    private Integer coilNetWeight;

    /** 钢卷毛重 */
    @Excel(name = "钢卷毛重")
    private Integer coilGrossWeight;

    /** 规格 */
    @Excel(name = "规格")
    private String spec;

    /** 规格厚 */
    @Excel(name = "规格厚")
    private String specThick;

    /** 规格长 */
    @Excel(name = "规格长")
    private String specLength;

    /** 品种 */
    @Excel(name = "品种")
    private String productName;

    /** 产地 */
    @Excel(name = "产地")
    private String origin;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String ownerName;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCoilName(String coilName)
    {
        this.coilName = coilName;
    }

    public String getCoilName()
    {
        return coilName;
    }
    public void setCoilWidth(Integer coilWidth)
    {
        this.coilWidth = coilWidth;
    }

    public Integer getCoilWidth()
    {
        return coilWidth;
    }
    public void setCoilInside(Integer coilInside)
    {
        this.coilInside = coilInside;
    }

    public Integer getCoilInside()
    {
        return coilInside;
    }
    public void setCoilNetWeight(Integer coilNetWeight)
    {
        this.coilNetWeight = coilNetWeight;
    }

    public Integer getCoilNetWeight()
    {
        return coilNetWeight;
    }
    public void setCoilGrossWeight(Integer coilGrossWeight)
    {
        this.coilGrossWeight = coilGrossWeight;
    }

    public Integer getCoilGrossWeight()
    {
        return coilGrossWeight;
    }
    public void setSpec(String spec)
    {
        this.spec = spec;
    }

    public String getSpec()
    {
        return spec;
    }
    public void setSpecThick(String specThick)
    {
        this.specThick = specThick;
    }

    public String getSpecThick()
    {
        return specThick;
    }
    public void setSpecLength(String specLength)
    {
        this.specLength = specLength;
    }

    public String getSpecLength()
    {
        return specLength;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setOrigin(String origin)
    {
        this.origin = origin;
    }

    public String getOrigin()
    {
        return origin;
    }
    public void setOwnerName(String ownerName)
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName()
    {
        return ownerName;
    }

    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("coilName", getCoilName())
            .append("coilWidth", getCoilWidth())
            .append("coilInside", getCoilInside())
            .append("coilNetWeight", getCoilNetWeight())
            .append("coilGrossWeight", getCoilGrossWeight())
            .append("spec", getSpec())
            .append("specThick", getSpecThick())
            .append("specLength", getSpecLength())
            .append("productName", getProductName())
            .append("origin", getOrigin())
            .append("ownerName", getOwnerName())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .toString();
    }
}
